/**
 * Title: jFamilyTree XSLT GXL provider
 * Description: jFamilyTree provider using XSL-transformed GXL file
 * Version: provider
 * Copyright: (c) 2001-2008
 * Terms of use:see license agreement at http://treebolic.sourceforge.net/en/license.htm
 * Author: Bernard Bou
 * Company: bsys
 */
package jFamilyTree.provider.xslt.gxl;

import java.net.URL;

/**
 * Provider for GXL (through XSL).
 * 
 * @author Bernard Bou
 */
public class Provider extends jFamilyTree.provider.xslt.Provider
{
	/*
	 * (non-Javadoc)
	 * 
	 * @see jFamilyTree.provider.xslt.Provider#getDtdUrl()
	 */
	@Override
	protected URL getDtdUrl()
	{
		return Provider.class.getResource("gxl-1.0.dtd");
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see jFamilyTree.provider.xslt.Provider#getXsltUrl()
	 */
	@Override
	protected URL getXsltUrl()
	{
		return Provider.class.getResource(docToDoc ? "gxl2jFamilyTree-d2d.xsl" : "gxl2jFamilyTree.xsl");
	}
}
